import Frame from '@/frame/frame.vue'

export default {
  path: '/merber',
  component: Frame,
  children: [
    {
      path: 'index',
      name: '',
      meta: {},
      component: () => import('@/views/merber/index.vue')
    },
    {
      path: 'payment_vip_order',
      name: '超级会员支付',
      meta: {},
      component: () => import('@/views/merber/payment_vip_order.vue')
    },
    {
      path: 'payment_vip',
      name: '超级会员详情',
      meta: {},
      component: () => import('@/views/merber/payment_vip.vue')
    },
    {
      path: 'prd_index',
      name: '会员商品',
      meta: {},
      component: () => import('@/views/merber/user_page_prd.vue')
    },
    {
      path: 'account_details',
      name: '返利明细',
      meta: {},
      component: Frame,
      children: [
        // {
        //   path: '/',
        //   name: '返利明细',
        //   meta: {},
        //   component: () => import('@/views/merber/account_details/index.vue')
        // },
        {
          path: '/',
          name: '返利明细',
          meta: {},
          component: () => import('@/views/merber/account_details/account.vue')
        },
        {
          path: 'rebate',
          name: '分享商品返利',
          meta: {},
          component: () => import('@/views/merber/account_details/rebate.vue')
        },
        {
          path: 'rebate_des',
          name: '返利结算说明',
          meta: {},
          component: () => import('@/views/merber/account_details/rebate_des.vue')
        },
        {
          path: 'income_details',
          name: '收入明细',
          meta: {},
          component: () => import('@/views/merber/account_details/income_details.vue')
        },
        {
          path: 'record_list',
          name: '提现记录',
          meta: {},
          component: () => import('@/views/merber/account_details/record_list.vue')
        }
      ]
    },
    {
      path: 'team',
      name: '我的会员',
      meta: {},
      component: () => import('@/views/merber/team.vue')
    },
    // {
    //   path: 'reflect',
    //   name: '余额提现',
    //   meta: {},
    //   component: () => import('@/views/merber/reflect/reflect.vue')
    // },
    {
      path: 'reflect',
      name: '申请提现',
      meta: {},
      component: () => import('@/views/merber/reflect/applyReflect.vue')
    },
    {
      path: 'incomeDetails',
      name: '详情',
      meta: {},
      component: () => import('@/views/merber/reflect/incomeDetails.vue')
    },
    {
      path: 'record',
      name: '提现记录',
      meta: {},
      component: () => import('@/views/merber/reflect/record.vue')
    },
    {
      path: 'bankManagement',
      name: '银行卡管理',
      meta: {},
      component: () => import('@/views/merber/reflect/bankManagement.vue')
    },
    {
      path: 'addBank',
      name: '添加银行卡',
      meta: {},
      component: () => import('@/views/merber/reflect/addBank.vue')
    },
    {
      path: 'business',
      name: '美家学堂-主页',
      meta: {},
      component: Frame,
      children: [
        {
          path: 'index',
          name: '美家学堂',
          meta: {},
          component: () => import('@/views/merber/business/index.vue')
        },
        {
          path: 'detalis/:id',
          name: '课程详情',
          meta: {},
          component: () => import('@/views/merber/business/detalis.vue')
        }
      ]
    },
    {
      path: 'message',
      name: '消息中心',
      meta: {},
      component: Frame,
      children: [
        {
          path: 'index',
          name: '消息中心',
          meta: {},
          component: () => import('@/views/merber/message_center/index.vue')
        },
        {
          path: 'item/:id',
          name: '消息列表',
          meta: {},
          component: () => import('@/views/merber/message_center/item.vue')
        },
        {
          path: 'detail/:id',
          name: '消息列表',
          meta: {},
          component: () => import('@/views/merber/message_center/detail.vue')
        }
      ]
    }
  ]
}
